#include "misc.h"

/* hashes a given password into its hexadecimel value and inputs the result in 'hashed password' */
void hash_password(BasicHashFunctionPtr hash, char *password, char *hased_password);
/* reads input from the console into 'input' */
int read_input(char *input);
int extract_username_and_passowrd(char *user_input, char *username, char *password);
int string_length(char *string);